package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息业务对象 equipment
 *
 * @author ruoyi
 * @date 2025-06-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EquipmentBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 设备编码
     */
    @NotBlank(message = "设备编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String equipmentCode;

    /**
     * 设备名称
     */
    @NotBlank(message = "设备名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String equipmentName;

    /**
     * 管理部门
     */
    @NotBlank(message = "管理部门不能为空", groups = { AddGroup.class, EditGroup.class })
    private String managementDepartment;

    /**
     * 设备分类
     */
    @NotBlank(message = "设备分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String equipmentCategory;

    /**
     * 设备状态
     */
    @NotBlank(message = "设备状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String equipmentStatus;

    /**
     * 责任人
     */
    @NotBlank(message = "责任人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String responsiblePerson;


}
